package com.tgy.crud.service;

import com.tgy.crud.domain.Person;

import java.sql.SQLException;

public interface PersonService {

    int insertPerson(Person person) throws SQLException;

    Person findPersonById(Integer id);

    int updatePerson(Person person);

    int deletePersonById(Integer id);
}
